package com.inmaytide.website.service.system;

import com.inmaytide.website.domain.entities.system.SysRole;

import java.util.List;
import java.util.Set;

public interface SysRoleService {

    public void insert(SysRole inst);

    public SysRole get(String id);

    public SysRole findByCode(String code);

    public List<SysRole> findList(SysRole condition);

    public void update(SysRole inst);

    public Set<String> findUserRoleCodes(Long uid);

    public List<SysRole> findUserRoles(Long uid);

}
